<?php
namespace app\controller;

use app\BaseController;
use tpScriptVueCurd\base\model\BaseModel;
use tpScriptVueCurd\base\model\VueCurlModel;
use tpScriptVueCurd\FieldCollection;

class Project extends BaseController
{
    //不需要 extends ，但是需要 use trait文件：\tpScriptVueCurd\base\controller\BaseController;
    use \tpScriptVueCurd\base\controller\BaseController;

    /**
     * 控制器标题
     * @return string
     */
    public static function getTitle(): string
    {
        return '项目信息';
    }
    /**
     * 配置控制器对应的模型类
     * @return string
     */
    public static function modelClassPath(): string
    {
        return \app\model\Project::class;
    }


    /**
     * 核实
     */
    public function check()
    {
        return $this->stepEdit();
    }

    /**
     * 撤回审核
     */
    public function withdrawal(){
        return $this->stepEdit();
    }
}
